Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sourcebundles): Only accept UTF-8 files #816

Merged
merged 5 commits into from
Jan 30, 2024
Merged

Conversation

loewenheim
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (a503460) 74.82% compared to head (11c73ae) 74.89%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #816      +/-   ##
==========================================
+ Coverage   74.82%   74.89%   +0.07%     
==========================================
  Files          63       63              
  Lines       15724    15744      +20     
==========================================
+ Hits        11766    11792      +26     
+ Misses       3958     3952       -6     

Comment on lines +1194 to +1196
let mut buf = String::new();

if let Err(e) = file.read_to_string(&mut buf) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not too happy about allocating/copying another string here, but meh I guess its not too bad

@Swatinem Swatinem merged commit 3900ec0 into master Jan 30, 2024
12 checks passed
@Swatinem Swatinem deleted the fix/sourcebundle-utf-8 branch January 30, 2024 14:34
szokeasaurusrex added a commit to getsentry/sentry-cli that referenced this pull request Jul 23, 2024
`symbolic-debuginfo` version 12.8.0 is the latest version excluding getsentry/symbolic#816, which caused a regression in `sentry-cli`.

Fixes #2107
szokeasaurusrex added a commit to getsentry/sentry-cli that referenced this pull request Jul 23, 2024
symbolic-debuginfo version 12.8.0 is the latest version excluding getsentry/symbolic#816, which caused a regression in sentry-cli.

Fixes #2107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants